package com.lx.repository;

import com.lx.entity.Menu;

import java.util.List;

/**
 * @author 李星
 * @date 2020/8/7 10:55
 */
public interface MenuRepository {
    public List<Menu> findAll(int index, int limit);
    public int count();
    public void save(Menu menu);
    public Menu findById(long id);
    public void update(Menu menu);
    public void deleteById(long id);
}
